// 引入二次封装的 axios
import server from './request'

// 条形图
export const Trend = () => server.get('/chart/trend');

//饼图
export const bing = () => server.get('/chart/pie');

//词云
export const word = () => server.get('/chart/wordcloud');

//侧边栏
export const lan = () => server.get('/chart/regions');

//表格
export const tableList = (id) => server.get(`/chart/sheets?regionId=${id}`);

//日历
export const calList = (date) => server.get(`chart/time/amount`, { params: date });

